<template>
  <div>
    <h3>测试</h3>
    <uc-swiper
      :data="banner"
      collectionName='bulala'
      :autoplay="1000"
    />
  </div>
</template>

<script>
  import UcSwiper from './uc-swiper.vue'
  export default {
    data(){
      return {
        banner:[]
      }
    },
    name:'uc-swiper-test',
    components:{UcSwiper},
    
    mounted(){
      setTimeout(()=>{
        this.banner=[
          {_id:1,title:'xxxx1',sub_title:'xxxxx1',banner:'/images/img_1.jpg'},
          {_id:2,title:'xxxx2',sub_title:'xxxxx2',banner:'/images/img_2.jpg'},
          {_id:3,title:'xxxx3',sub_title:'xxxxx3',banner:'/images/img_3.jpg'},
        ]
      },3000)
    }
  }
</script>

<style>
</style>
